@charset "UTF-8";

* {
  /*页面点击链接时会出现高亮框，此代码用来解决*/
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /*禁用手机浏览器的用户选择文本(复制)功能 */
  /*-webkit-user-select: none;*/
  /*设置怪异盒子*/
  /* -webkit-box-sizing: border-box;
  box-sizing: border-box; */
  /*解决IOS上面的按钮显示问题*/
  -webkit-appearance: none;
  /* 移动端滑动流畅性 */
  -webkit-overflow-scrolling: touch;
  /* ios5+ */
  /* 滚动流畅 */
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
dl,
dd,
p,
div,
textarea,
input,
select,
option,
form {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

input:focus,
textarea:focus,
button,
select:focus {
  outline: none;
}

ul,
ol {
  list-style: none;
}

img {
  border: 0;
  width: 100%;
  height: auto;
  display: block;
}

input,
select,
textarea {
  color: inherit;
  font-size: inherit;
}

.cl:after {
  content: "";
  clear: both;
  display: block;
}

html {
  /*7.5为设计稿的宽度*/
  font-size: -webkit-calc(100vw / 7.5);
  /*此时定义了在750的设计稿下  1rem=100px*/
}

body {
  font-size: 0.3rem;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
}

/*多行省略？*/
.el2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  /*! autoprefixer: ignore next */
  -webkit-box-orient: vertical;
}

.el4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  /*! autoprefixer: ignore next */
  -webkit-box-orient: vertical;
}

.ripple {
  position: relative;
}

.ripple:focus {
  outline: none;
}

.ripple:after {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  content: "";
  display: block;
  position: absolute;
  top: -0.2rem;
  left: -0.08rem;
  pointer-events: none;
  background-color: #666;
  background-repeat: no-repeat;
  background-position: 50%;
  opacity: 0;
  transition: all .5s;
}

.ripple:active:after {
  opacity: .3;
  transition: 0s;
}

.click_hover {
  position: relative;
}

.click_hover:focus {
  outline: none;
}

.click_hover:after {
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  position: absolute;
  top: 0rem;
  left: 0rem;
  pointer-events: none;
  background-color: #888;
  background-repeat: no-repeat;
  background-position: 50%;
  opacity: 0;
  transition: all 0.5s;
}

.click_hover:active:after {
  opacity: 0.3;
  transition: 0s;
}
